package cn.panda.edu.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 教师表
 * 类描述：  
 */
public class Teacher implements Serializable{
	/** 
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	*/ 
	private static final long serialVersionUID = 1L;
	/**
	 * 教师编号
	 */
    private Integer teacherId;
    /**
	 * 课程编号
	 */
    private Integer courseId;
    /**
	 * 权限等级编号
	 */
    private Integer roleId;
    /**
	 * 登录密码
	 */
    private String teacherPassword;
    /**
	 * 教师姓名
	 */
    private String teacherRealname;
    /**
	 * 出生日期
	 */
    private Date teacherBirth;
    /**
	 * 性别
	 */
    private String teacherSex;
    /**
	 * 政治面貌
	 */
    private String teacherPolitical;
    /**
	 * 民族
	 */
    private String teacherNational;
    /**
	 * 最高学历
	 */
    private String teacherRecord;
    /**
	 * 籍贯
	 */
    private String teacherNative;
    /**
	 * 毕业院校
	 */
    private String teacherSchool;
    /**
	 * 最高学位
	 */
    private String teacherDegree;
    /**
	 * 邮箱
	 */
    private String teacherEmail;
    /**
	 * 联系方式
	 */
    private String teacherPhone;
    /**
	 * 地址
	 */
    private String teacherAddress;
    /**
	 * 教师类别
	 */
    private String teacherCategory;
    /**
	 * 照片
	 */
    private String teacherPhoto;
    /**
	 * 创建时间
	 */
    private Date teacherCreateDate;
    /**
	 * 上次登录时间
	 */
    private Date teacherLastLogindate;
    /**
	 * 登录时长
	 */
    private Integer teacherLoginSumtime;
    /**
	 * 修改人
	 */
    private String teacherModifyPerson;
    /**
	 * 修改时间
	 */
    private Date teacherModifyDate;
    /**
	 * 删除状态
	 */
    private Integer teacherDelete;
    /**
     * 多对一 角色
     */
    private Role role;

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getTeacherPassword() {
        return teacherPassword;
    }

    public void setTeacherPassword(String teacherPassword) {
        this.teacherPassword = teacherPassword == null ? null : teacherPassword.trim();
    }

    public String getTeacherRealname() {
        return teacherRealname;
    }

    public void setTeacherRealname(String teacherRealname) {
        this.teacherRealname = teacherRealname == null ? null : teacherRealname.trim();
    }

    public Date getTeacherBirth() {
        return teacherBirth;
    }

    public void setTeacherBirth(Date teacherBirth) {
        this.teacherBirth = teacherBirth;
    }

    public String getTeacherSex() {
        return teacherSex;
    }

    public void setTeacherSex(String teacherSex) {
        this.teacherSex = teacherSex == null ? null : teacherSex.trim();
    }

    public String getTeacherPolitical() {
        return teacherPolitical;
    }

    public void setTeacherPolitical(String teacherPolitical) {
        this.teacherPolitical = teacherPolitical == null ? null : teacherPolitical.trim();
    }

    public String getTeacherNational() {
        return teacherNational;
    }

    public void setTeacherNational(String teacherNational) {
        this.teacherNational = teacherNational == null ? null : teacherNational.trim();
    }

    public String getTeacherRecord() {
        return teacherRecord;
    }

    public void setTeacherRecord(String teacherRecord) {
        this.teacherRecord = teacherRecord == null ? null : teacherRecord.trim();
    }

    public String getTeacherNative() {
        return teacherNative;
    }

    public void setTeacherNative(String teacherNative) {
        this.teacherNative = teacherNative == null ? null : teacherNative.trim();
    }

    public String getTeacherSchool() {
        return teacherSchool;
    }

    public void setTeacherSchool(String teacherSchool) {
        this.teacherSchool = teacherSchool == null ? null : teacherSchool.trim();
    }

    public String getTeacherDegree() {
        return teacherDegree;
    }

    public void setTeacherDegree(String teacherDegree) {
        this.teacherDegree = teacherDegree == null ? null : teacherDegree.trim();
    }

    public String getTeacherEmail() {
        return teacherEmail;
    }

    public void setTeacherEmail(String teacherEmail) {
        this.teacherEmail = teacherEmail == null ? null : teacherEmail.trim();
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone == null ? null : teacherPhone.trim();
    }

    public String getTeacherAddress() {
        return teacherAddress;
    }

    public void setTeacherAddress(String teacherAddress) {
        this.teacherAddress = teacherAddress == null ? null : teacherAddress.trim();
    }

    public String getTeacherCategory() {
        return teacherCategory;
    }

    public void setTeacherCategory(String teacherCategory) {
        this.teacherCategory = teacherCategory == null ? null : teacherCategory.trim();
    }

    public String getTeacherPhoto() {
        return teacherPhoto;
    }

    public void setTeacherPhoto(String teacherPhoto) {
        this.teacherPhoto = teacherPhoto == null ? null : teacherPhoto.trim();
    }

    public Date getTeacherCreateDate() {
        return teacherCreateDate;
    }

    public void setTeacherCreateDate(Date teacherCreateDate) {
        this.teacherCreateDate = teacherCreateDate;
    }

    public Date getTeacherLastLogindate() {
        return teacherLastLogindate;
    }

    public void setTeacherLastLogindate(Date teacherLastLogindate) {
        this.teacherLastLogindate = teacherLastLogindate;
    }

    public Integer getTeacherLoginSumtime() {
        return teacherLoginSumtime;
    }

    public void setTeacherLoginSumtime(Integer teacherLoginSumtime) {
        this.teacherLoginSumtime = teacherLoginSumtime;
    }

    public String getTeacherModifyPerson() {
        return teacherModifyPerson;
    }

    public void setTeacherModifyPerson(String teacherModifyPerson) {
        this.teacherModifyPerson = teacherModifyPerson == null ? null : teacherModifyPerson.trim();
    }

    public Date getTeacherModifyDate() {
        return teacherModifyDate;
    }

    public void setTeacherModifyDate(Date teacherModifyDate) {
        this.teacherModifyDate = teacherModifyDate;
    }

    public Integer getTeacherDelete() {
        return teacherDelete;
    }

    public void setTeacherDelete(Integer teacherDelete) {
        this.teacherDelete = teacherDelete;
    }

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}